package FileTransferIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "FileTransferIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class FileTransferIRPPOATie
	extends FileTransferIRPPOA
{
	private FileTransferIRPOperations _delegate;

	private POA _poa;
	public FileTransferIRPPOATie(FileTransferIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public FileTransferIRPPOATie(FileTransferIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public FileTransferIRPSystem.FileTransferIRP _this()
	{
		return FileTransferIRPSystem.FileTransferIRPHelper.narrow(_this_object());
	}
	public FileTransferIRPSystem.FileTransferIRP _this(org.omg.CORBA.ORB orb)
	{
		return FileTransferIRPSystem.FileTransferIRPHelper.narrow(_this_object(orb));
	}
	public FileTransferIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(FileTransferIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public java.lang.String[] get_file_transfer_irp_versions() throws FileTransferIRPSystem.GetFileTransferIRPVersions
	{
		return _delegate.get_file_transfer_irp_versions();
	}

	public ManagedGenericIRPConstDefs.Method[] get_file_transfer_irp_notifications_profile(java.lang.String irp_version) throws FileTransferIRPSystem.GetFileTransferIRPNotificationsProfile,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.get_file_transfer_irp_notifications_profile(irp_version);
	}

	public FileTransferIRPConstDefs.Result file_download_indication(FileTransferIRPConstDefs.FileInfo[] file_info_list) throws FileTransferIRPSystem.FileDownloadIndication,ManagedGenericIRPSystem.OperationNotSupported,FileTransferIRPSystem.InvalidFileInfoList
	{
		return _delegate.file_download_indication(file_info_list);
	}

	public ManagedGenericIRPConstDefs.Method[] get_file_transfer_irp_operations_profile(java.lang.String iRPVersion) throws FileTransferIRPSystem.GetFileTransferIRPOperationsProfile,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.get_file_transfer_irp_operations_profile(iRPVersion);
	}

	public FileTransferIRPConstDefs.Result list_available_files(short management_data_type, TimeBase.UtcT begin_time, TimeBase.UtcT end_time, FileTransferIRPConstDefs.FileInfoListHolder file_info_list) throws ManagedGenericIRPSystem.InvalidParameter,FileTransferIRPSystem.ListAvailableFiles,FileTransferIRPSystem.InvalidTimes
	{
		return _delegate.list_available_files(management_data_type,begin_time,end_time,file_info_list);
	}

}
